import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const dashboard: AppRouteModule = {
  path: '/test',
  name: 'test',
  component: LAYOUT,
  redirect: '/test/testA',
  meta: {
    icon: 'ion:grid-outline',
    title:'test',
  },
  children: [
    {
      path: 'testA',
      name: 'testA',
      component: () => import('/@/views/test/testA.vue'),
      meta: {
        affix: false,
        title: 'testA',
      },
    },
    {
      path: 'testB',
      name: 'testB',
      component: () => import('/@/views/test/testB.vue'),
      meta: {
        affix: false,
        title: 'testB',
      },
    },
  ],
};

export default dashboard;
